package com.lsj.thread;

/**
 * Created by Tony on 2016/5/3.
 */
public class Thread3 extends Thread {
    private int count = 5;

    @Override
    synchronized public void run() {
        super.run();
        count--;
        System.out.println("由" + this.currentThread().getName() + "计算，count=" + count);
    }
}
